Package eu.europa.ec.taxud.cesop.readers
Class XmlLocation
java.lang.Object
eu.europa.ec.taxud.cesop.readers.XmlLocation
- All Implemented Interfaces:
Location
Wrapper for
Location that adds pointer to specific xml tag in for of elements path.-
Constructor Summary
ConstructorsConstructorDescriptionXmlLocation(Location delegate, List<String> xmlPath) Instantiates a new Xml location. -
Method Summary
Modifier and TypeMethodDescriptionintintintGets xml path.
-
Constructor Details
-
XmlLocation
Instantiates a new Xml location.- Parameters:
delegate- the delegatexmlPath- the xml path
-
-
Method Details
-
getLineNumber
public int getLineNumber()- Specified by:
getLineNumberin interfaceLocation
-
getColumnNumber
public int getColumnNumber()- Specified by:
getColumnNumberin interfaceLocation
-
getCharacterOffset
public int getCharacterOffset()- Specified by:
getCharacterOffsetin interfaceLocation
-
getPublicId
- Specified by:
getPublicIdin interfaceLocation
-
getSystemId
- Specified by:
getSystemIdin interfaceLocation
-
getXmlPath
Gets xml path.- Returns:
- the xml path
-